package com.etoak.service;

import com.etoak.common.core.vo.PageVO;
import com.etoak.entity.Dishes;
import com.baomidou.mybatisplus.extension.service.IService;
import com.etoak.vo.DishesVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author etoak
 * @since 2025-06-30
 */
public interface DishesService extends IService<Dishes> {

    void add(Dishes dishes);

    /**
     * 分页查询
     * @param pageNumber 页码
     * @param pageSize 每页记录数
     * @param dishes
     * @return pageVO
     */
    PageVO<DishesVO> getList(int pageNumber, int pageSize,Dishes dishes);

    void update(int id, Dishes dishes);

    void delete(int id);
}
